package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文档共享对象 ex_share_documents
 * 
 * @author ruoyi
 * @date 2024-08-28
 */
public class ExShareDocuments extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 文件地址 */
    @Excel(name = "文件地址")
    private String fileUrl;

    /** 上传人姓名 */
    @Excel(name = "上传人姓名")
    private String uploadUserName;

    /** 上传人id */
    @Excel(name = "上传人id")
    private String uploadUserId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }
    public void setUploadUserName(String uploadUserName) 
    {
        this.uploadUserName = uploadUserName;
    }

    public String getUploadUserName() 
    {
        return uploadUserName;
    }
    public void setUploadUserId(String uploadUserId) 
    {
        this.uploadUserId = uploadUserId;
    }

    public String getUploadUserId() 
    {
        return uploadUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fileName", getFileName())
            .append("fileUrl", getFileUrl())
            .append("uploadUserName", getUploadUserName())
            .append("uploadUserId", getUploadUserId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
